package cc.xpcas.raft.codec;

/**
 * @author xp
 */
public interface Codec {

    byte[] encode(Object o);

    Object decode(byte[] bs);
}
